package net.learn.system.convert;

import net.learn.system.entity.SysVideoDetailEntity;
import net.learn.system.entity.SysVideoEntity;
import net.learn.system.vo.SysVideoDetailVO;
import net.learn.system.vo.SysVideoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysVideoDetailConvert {
    SysVideoDetailConvert INSTANCE = Mappers.getMapper(SysVideoDetailConvert.class);

    SysVideoDetailVO convert(SysVideoDetailEntity entity);

    SysVideoDetailEntity convert(SysVideoDetailVO vo);

    List<SysVideoDetailVO> convertList(List<SysVideoDetailEntity> list);

}
